/**
 * @Author: Yosoo
 * @Date: 2025/5/17 10:10
 * @Description:
 */
package com.sky.mapper;

import com.sky.annotation.AutoFill;
import com.sky.entity.DishFlavor;
import com.sky.enumeration.OperationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {

    /**
     * 批量添加菜品口味
     * @Author:     Yosoo
     * @Date:       2025/5/17 10:28
     * @Description:
     * @param flavors
     */
    void batchInsert(List<DishFlavor> flavors);


    void deleteByDishIds(List<Long> ids);

    void deleteByDishId(Long id);
}
